package com.andy.blog.admin.dto.login;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * Created by andy on 2023-04-15 15:02
 */
@Data
public class LoginDTO implements Serializable {

    private static final long serialVersionUID = 5544596785899416401L;
    /**
     * 用户名
     */
    @NotBlank(message = "请输入您的账号")
    private String username;

    /**
     * 用户密码
     */
    @NotBlank(message = "请输入您的账号")
    private String password;

    /**
     * 验证码
     */
    private String code;

    /**
     * 唯一标识
     */
    private String uuid;

    /**
     * 客户端类型
     */
    private String clientType;
}
